// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_b.p_b.p_b;

import com.nnee.p_b.p_b.p_e.cls_d;
import com.nnee.p_b.p_b.p_e.cls_f;
import com.nnee.p_g.cls_b;
import org.json.JSONException;
import org.json.JSONObject;

// Referenced classes of package com.nnee.b.b.b:
//            d, c

public class cls_a extends  com.nnee.p_b.p_b.p_e.cls_a
{

    public cls_a()
    {
        super("bHBJAaRTZ6KUMxjWdgKh", b);
    }

    public static cls_a a()
    {
        if(e == null)
            e = new cls_a();
        return e;
    }

    public int a(cls_d d1)
    {
        b("bHBJAaRTZ6KUMxjWdgKh", b);
        return a(((com.nnee.p_fk.p_b.cls_a) (new com.nnee.p_b.p_b.p_b.cls_d())), ((com.nnee.p_fk.p_b.cls_d) (d1)));
    }

    public int a(String s, String s1, String s2, cls_d d1)
    {
        return a(cls_c.a(s, s1, s2), ((com.nnee.p_fk.p_b.cls_d) (d1)));
    }

    public cls_f a(int i, String s)
    {
        cls_f f1;
        if(s == null)
        {
            f1 = new cls_f(4, -5, null, null);
        } else
        {
            com.nnee.p_g.cls_b.e("SohuService", s);
            f1 = new cls_f(4);
            f1.h = i;
            try
            {
                f1.j = (new JSONObject(s)).optString("error");
                f1.i = String.valueOf(i);
            }
            catch(JSONException jsonexception)
            {
                f1.h = -1;
                f1.j = cls_f.a(-1);
                jsonexception.printStackTrace();
            }
        }
        return f1;
    }

    public String a(String s)
    {
        return (new StringBuilder()).append("http://api.t.sohu.com").append(s).toString();
    }

    public static final String a = "bHBJAaRTZ6KUMxjWdgKh";
    public static final String b = com.nnee.p_c.p_b.cls_a.a("n-%C%uUyYXZ!AE^I68X)vi*mf72gkYmT#xpYTJlm");
    private static final String d = "http://api.t.sohu.com";
    private static cls_a e;

}
